From a9356988942783fa839b4df49dc725a641e05933 Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Fri, 20 Oct 2006 09:22:58 +0100 Subject: [PATCH] [BLKTAP]: Kill duplicate fast_flush_area call The dispatch_rw_block_io may call fast_flush_area twice if create_lookup_pte_addr fails (there is a flush call at fail_flush already). The second call simply causes warnings to be printed on the console. This patch removes the duplicate call. Signed-off-by: Herbert Xu --- linux-2.6-xen-sparse/drivers/xen/blktap/blktap.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/linux-2.6-xen-sparse/drivers/xen/blktap/blktap.c b/linux-2.6-xen-sparse/drivers/xen/blktap/blktap.c index 8b5a4f7f9d..a7e5037d72 100644 --- a/linux-2.6-xen-sparse/drivers/xen/blktap/blktap.c +++ b/linux-2.6-xen-sparse/drivers/xen/blktap/blktap.c @@ -1195,8 +1195,6 @@ static void dispatch_rw_block_io(blkif_t *blkif, uvaddr, &ptep); if (ret) { WPRINTK("Couldn't get a pte addr!\n"); - fast_flush_area(pending_req, pending_idx, usr_idx, - blkif->dev_num); goto fail_flush; } -- 2.30.2